package com.fhj.bookshop.service;

import com.fhj.bookshop.entity.Favourite;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fhj.bookshop.entity.Product;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fu
 * @since 2023-12-24
 */
public interface IFavouriteService extends IService<Favourite> {
    void addFavourite(Favourite favourite);

    void removeFavourite(Integer custId,Integer proId);

    Integer checkFavourite(Integer custId,Integer proId);

    List<Favourite> findByCustId(Integer custId);
}
